package com.qingjiang.projectschedule.utils;


import lombok.Data;
import org.springframework.stereotype.Component;


@Component
@Data
public class MyStringUtil {

    public static String generateCount(Integer count){
        int tmp = 100;
        StringBuilder stringBuilder = new StringBuilder();
        for (int i = 0; i < 3; i++) {
            int s = count/tmp;
            stringBuilder.append(s);
            count=count%tmp;
            tmp/=10;
        }
        return stringBuilder.toString();
    }
}
